<?php include "php/verifica.php"; ?>

<!DOCTYPE html>
<html>
	<head>
		<title>qqTem - Painel de Administração</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Language" content="pt-BR" />
		<link rel="stylesheet" media="screen" type="text/css" href="style/style.css" />
		<link rel="stylesheet" media="screen" type="text/css" href="style/tipTip.css" />
		<link rel="stylesheet" media="screen" type="text/css" href="style/jquery-ui-1.8.16.custom.css" />
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/jquery.tipTip.minified.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
		<script type="text/javascript" src="js/edit.js"></script>
		<script type="text/javascript">
			$(function(){
				$(".tip").tipTip({maxWidth: "auto", edgeOffset: 0});
			});
		</script>
	</head>
	<body>
		<?php

			include "header.html";
		?>
		<div id="body">

			<?php

				$pagina = $_GET['pagina'];

				if (empty($pagina)){

					echo '<a href="base.php?pagina=locals">Gerenciamento de Locais</a><br /><br />';
					echo '<a href="base.php?pagina=comments">Gerenciamento de Comentários</a>';
				}

				else {
					$pagina = $pagina. ".php";
					include $pagina;
				}
			?>

			
			
		</div>
		<div id="dialog" style="display:none;"></dialog>
	</body>
</html>